package com.zzyl.nursing.dto;

import com.zzyl.nursing.domain.AlertData;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 报警数据对象 alert_data
 * 
 * @author ruoyi
 * @date 2024-09-25
 */
@Data
public class AlertDataDto extends AlertData
{
    private static final long serialVersionUID = 1L;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}
